import time as Time
from datetime import datetime

year = datetime.now().year
def str2Timestamp(date: str, time: str) -> int:

    timeArray = datetime.strptime(str(year) + '-' + date + ' ' + time, "%Y-%m-%d %H:%M:%S.%f")

    print("timeArray:")
    print(timeArray)
    timestamp = int(Time.mktime(timeArray.timetuple())*1000.0 + timeArray.microsecond/1000.0)
    print("timestamp:")
    print(timestamp)
    return timestamp

str2Timestamp('10-26','16:02:41.999')

def curTimeMills() -> int:
    return int(round(Time.time() * 1000))

print(curTimeMills())